//
//  DataSource.h
//  小慕餐厅
//
//  Created by Mac on 2018/1/1.
//  Copyright © 2018年 Mac. All rights reserved.
//

#import <Foundation/Foundation.h>
//#import "ProductDataSource.h"
//#import "FMDB.h"
@interface DataSource : NSObject
+(instancetype)getInstance;
//-(void)getLocationData;
//-(void)setCurrentCity:(NSString*)str;
//-(NSString*)getCurrentCity;
//-(int)getPDNum;
//-(void)setPdNum:(int)num;
//-(void)loadPdItem:(ProductDataSource*)item;
//-(void)loadFruitItem:(ProductDataSource*)item;
//-(void)loadFoodItem:(ProductDataSource*)item;
//-(NSMutableArray*)getPdArray;
//-(NSMutableArray*)getFruitArray;
//-(NSMutableArray*)getFoodArray;
//
//-(int)getFruitNum;
//-(void)setFruitNum:(int)num;
//// 订单数据
//-(void)loadOrderItem:(ProductDataSource*)item;
//-(NSMutableArray *)getOrderArray;
//// FMDB
//-(FMDatabase*)getFMDB;
//- (void)add:(NSString *)str;
//- (void)search;
// login true
-(void)setLoginFlag:(BOOL)flag;
-(BOOL)getLoginFlag;
-(NSString *)getCurrentDeviceModel;
@end
